package web.opodoElements;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/*
 * Classe root dell'Xml
 * 
 * 
 * TODO: Ricorda di fare alt shift s per ogni nuovo figlio e fare nuovo getter e setter (se no rimane giallo)
 * FAI SEMPRE CTRL BARRA
 * 
 */
@XmlRootElement(name="airSearchResponse")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name="airSearchResponse",propOrder={"status","itineries","recommendations"})
public class AirSearchResponse {
	@XmlElement
	private String status;
	
	@XmlElement
	private Itineries itineries;	
	
	@XmlElement
	private Recommendations recommendations;
	
	public AirSearchResponse(){
		super();
	}


	public String getStatus() {
		return status;
	}


	public void setStatus(String status) {
		this.status = status;
	}


	public void setItineries(Itineries itineries) {
		this.itineries = itineries;
	}

	public Itineries getItineries() {
		return itineries;
	}


	public void setRecommendations(Recommendations recommendations) {
		this.recommendations = recommendations;
	}


	public Recommendations getRecommendations() {
		return recommendations;
	}

}
